package com.lyh.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.entity.SysRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created By lgm on 16:41 2023/5/24
 */
@Data
public class UserInfoVo {

    private Long userId;

    /** 用户账号 */
    private String userName;

    /** 用户昵称 */
    private String nickName;

    /** 手机号码 */
    private String phonenumber;

    private String sex;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String password;

    /** 帐号状态（0正常 1停用） */
    private String status;

    /** 最后登录IP */
    @Excel(name = "最后登录IP", type = Excel.Type.EXPORT)
    private String loginIp;
    //头像
    private String avatar;

    /** 最后登录时间 */
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date loginDate;

    /** 会员id */
    @Excel(name = "会员id")
    private String memberId;

    //会员等级

    private String memberLeve;

    //门店长等级
    private String mstoreLeve;

    //是否是顶级邀请人
    private Integer topInviteFlag;

    //邀请码
    private String topInviteCode;

    private Long parentId;

    //是否 有顶级
    private Integer topUserFlag;

    private Long topUserId;

    //  1 web  0 app
    private Integer isAdmin;

    //直接、间接推广人邀请码（会员id）,拼接--会员升级使用
    private String indirectInviteCodes;

    @Excel(name = "是否门店长")
    private Boolean isMstore;

    /** 账户余额 */
    private BigDecimal accountBalance;

    /** 权益额度 */
    private BigDecimal equityLimit;

    /** 股权积分 */
    private Long equityPoints;

    /** 资产通证 */
    private BigDecimal assetEvidenceNum;

    /** 消费券 */
    private BigDecimal consumerCouponNum;

    /** 门店积分 */
    private Long integral;

    //零钱
    private BigDecimal changes;

    private Boolean faceIdentifyFlag;

    private String payPassword;

    private Integer isVip;

    private String zfbAccount;

    private String realName;
}
